home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / serial / callback.001 / callback~ / callback / lib / dest / dest.h < prev    next >
C/C++ Source or Header  |  1996-08-02  |  780b  |  32 lines

  1. #ifndef _dest_H_
  2. #define _dest_H_
  3.  
  4. #include "../dgroup/dgroup.h"
  5. #include "../dname/dname.h"
  6.  
  7. typedef enum                /* the callback modi for destinations */
  8. {
  9.     phone_mode,
  10.     direct_mode,
  11.     extra_mode,
  12. } MODE_;
  13.  
  14. MODE_ get_destmode(unsigned destindex);
  15. unsigned get_dnameindex(unsigned destindex);
  16. unsigned get_dgroupindex(unsigned destindex);
  17. unsigned get_ndestinations();
  18. char *get_phone();
  19. char *get_filename();
  20. char *getbuf(char *buf, unsigned buflen);
  21.  
  22. void listdestinations(int uid, int all);
  23. void define_dest(char *destname);   /* define a destination (+ name) */
  24. void set_dname(char *dname);
  25. void set_cbmode(MODE_ mode);
  26. void set_phone(char *phone);
  27. void set_file(char *filename);
  28. void tag_dnames();
  29. void ask_extra_number(unsigned uid, unsigned dest);
  30.  
  31. #endif  _dest_H_
  32.